package com.centriole.common.entity;

import java.util.Date;
import java.util.Map;

/**
 * @Author: zhangjj
 * @Description:
 * @Date: Created in 2018/5/9 0009 10:32
 * @Modified:
 */
public class TokenEntity {
    /**
     * 用户名
     */
    private String userName;

    /**
     * 创建时间
     */
    private Date time;

    /**
     * 服务器签名
     */
    private String signature;

    public TokenEntity() {
    }

    public TokenEntity(String userName, Date time, String signature) {
        this.userName = userName;
        this.time = time;
        this.signature = signature;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }
}
